//
// Created by yan on 7/4/17.
//

#include "yunbaapi/yunbaSysNode.h"

yunbaSysNode::yunbaSysNode(std::string name){
        m_strName = name;
}

yunbaSysNode::yunbaSysNode() {}

void *yunbaSysNode::getIstance() {

    return (void *)yunbaP;
}

int yunbaSysNode::initcfg() {
    yunbaP = new yunba_server("590be540f1ae5ffe367124fe");
    yunbaP->setTopic("txet1");

    return bSysNode::initcfg();
}
